package com.lujianfei.productprice.ui.order;

import android.content.Context;

import java.util.List;

public interface OrderContract {
    interface Model{

        List<OrderEntity> loadData();

        void delete(OrderEntity itemAtPosition);

        double getTotalPrice();
    }
    interface View{

        void setData(List<OrderEntity> orderEntities);

        Context getContext();

        void showLoading();

        void hideLoading();

        void setTotalPrice(double totalPrice);
    }
    interface Presenter{

        void loadData();

        void showLongClickDialog(OrderEntity itemAtPosition);
    }
}
